#ifndef MAINUI_H
#define MAINUI_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include "blldataflow.h"
#include "ettadatastruct.h"
#include "bllcontroller.h"

namespace Ui {
class MainUI;
}

class MainUI : public QWidget
{
    Q_OBJECT

public:
    explicit MainUI(QWidget *parent = nullptr);
    ~MainUI();

private slots:
    void on_btnData_clicked();
    void on_btnExp_clicked();
    void on_btnConfig_clicked();

    void retranslateUiSlot();
    void setEnableSlot(bool state);

private:
    Ui::MainUI *ui;
    BllDataFlow * bdf;
    BllController * bCtrl;
    void initWidget();
};

#endif // MAINUI_H
